package edu.whut.mall.admin.enums;

/**
 * @program: d9lab-mall
 * @description: 商品状态
 * @author: Wayne
 * @create: 2020-05-05 11:38
 **/
public enum ProductStatusEnum {
    PRODUCT_ON_SALE(1,"商品已上架"),
    PRODUCT_OFF_SALE(0,"商品已下架");


    private final Integer code;
    private final String desc;

    private ProductStatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }


    public String getDesc() {
        return desc;
    }


}
